package cn.z2huo.demo.mybatis.plus.service.impl;

import cn.z2huo.demo.mapper.role.RoleMapper;
import cn.z2huo.demo.model.dataobject.role.RoleDO;
import cn.z2huo.demo.mybatis.plus.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    @Override
    public void insert(RoleDO RoleDO) {
        roleMapper.insert(RoleDO);
    }

}
